package niu.toy.spring.ioc;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface BeanFactory {
    String FACTORY_BEAN_PREFIX = "&";
    <T> T getBean(Class<T> cls);

    void setBean(Class<?> cls, Object obj);

    Map<Class<?>, Object> getBeanMap();

    Set<String> getBasePackages();
}
